/**
 * Created by cchen on 2015/4/17.
 */
'use strict';
angular.module("66MobileWebShareApp",['ngRoute', 'ngResource',"mobile.web.share.controller",
    "mobile.web.share.services","mobile.app.share.controller"])
.config(['$routeProvider', function($routeProvider) {
        $routeProvider.when('/app', {templateUrl: 'partials/share/app/index.html', controller: 'appShareCtrl'});
        $routeProvider.when('/web/:shareId', {templateUrl: 'partials/share/web/index.html', controller: 'webShareCtrl'});

        $routeProvider.otherwise({redirectTo: '/web'});
    }]);